/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package persistence;

import java.io.IOException;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.cfg.Configuration;
import vo.rb_manufacturing;
import vo.rb_users;



/**
 *
 * @author Shuhail
 */
public class TestDB {
    
    public static void main(String[] args) throws IOException {
       /*
       rb_users users=new rb_users();
        users.setUser_name("Sreedhar");
        users.setPassword("new_password");
        //users.setRole("Employeesdsd");
        rb_users_persist rb=rb_users_persist.getInstance();
        rb.updatePassword(users, "poda");
       */
        rb_manufacturing_persist manu=rb_manufacturing_persist.getInstance();
        rb_manufacturing man=new rb_manufacturing();
        man.setManufacture_id("M002");
        man.setProduct_id("P002");
        man.setQuantity(1234);
        manu.insert(man);
    }
    
}
